﻿using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Web.Profile;
using System.Collections.Generic;
/// <summary>
/// Summary description for UserProfile
/// </summary>
public class UserProfile : System.Web.Profile.ProfileBase
{
	public UserProfile()
	{
		//
		// TODO: Add constructor logic here
		//
	}
    public static UserProfile GetUserProfile(string username)
    {
        return Create(username) as UserProfile;
    }
    public virtual bool UserId
    {
        get
        {
            return ((bool)(this.GetPropertyValue("UserId")));
        }
        set
        {
            this.SetPropertyValue("UserId", value);
        }
    }
    public virtual bool FirstName
    {
        get
        {
            return ((bool)(this.GetPropertyValue("FirstName")));
        }
        set
        {
            this.SetPropertyValue("FirstName", value);
        }
    }
    public virtual bool LastName
    {
        get
        {
            return ((bool)(this.GetPropertyValue("LastName")));
        }
        set
        {
            this.SetPropertyValue("LastName", value);
        }
    }
    public virtual bool UserType
    {
        get
        {
            return ((bool)(this.GetPropertyValue("UserType")));
        }
        set
        {
            this.SetPropertyValue("UserType", value);
        }
    }
}